package com.lkd.feign;

import com.lkd.feign.fallback.OrderServiceFallbackFactory;
import com.lkd.feign.fallback.VmServiceFallbackFactory;
import com.lkd.http.view.RequestPayVO;
import com.lkd.vo.SkuVO;
import com.lkd.vo.VmVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@FeignClient(value = "order-service",fallbackFactory = OrderServiceFallbackFactory.class)
public interface OrderService {

    @PostMapping("/order/requestPay")
    public Map requestPay(@RequestBody RequestPayVO vo);
}
